]> dgit.raspbian.org Git - gnome-shell.git/commit
dnd: Make DND translation-property-aware
authorDaniel van Vugt <daniel.van.vugt@canonical.com>
Wed, 22 Jan 2020 08:40:50 +0000 (16:40 +0800)
committerFlorian Müllner <florian.muellner@gmail.com>
Fri, 7 Feb 2020 14:43:56 +0000 (14:43 +0000)
commit881eab766959af1dcf1b73119dd478b891957cdb
treed8bf2f875f6bc6306da6cb7830103d713cc7eebe
parent141652b7ec6a3ff4d81f2a8eeecc618e0b7010aa
dnd: Make DND translation-property-aware

Previously DND only worked properly for actors with zero translation.
But it only requires a small tweak to `this._dragOffsetX/Y` to support
non-zero translation values.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/936
js/ui/dnd.js